/*
 * misc.h
 *
 *  Created on: 03/05/2013
 *      Author: jose
 */

#ifndef MISC_H_
#define MISC_H_

struct string_st
{
	char * text;
	unsigned len;
};
typedef struct string_st String;

String *
string_create_no_len(const char * str);

String *
string_create_with_len(const char * str, const unsigned len);

short int
string_compare(String * s1, String * s2);


#endif /* MISC_H_ */
